home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / swagd_f.zip / EGAVGA.SWG / 0108_28 EGA-VGA Rows.pas < prev    next >
Pascal/Delphi Source File  |  1994-05-26  |  496b  |  16 lines

  1. {
  2. AG> Does anyone out there know how to set the screen display for 28 rows, in
  3. AG> VGA mode?  I've seen this in a couple of programs, and really like it.
  4.  
  5. Here goes a small assembly routine to switch the screen to 28-line mode. }
  6.  
  7.        MOV   AX,1202          ;set up 400 scan lines
  8.        MOV   BL,30
  9.        INT   10
  10.        MOV   AX,0003          ;set up normal text mode
  11.        INT   10
  12.        MOV   AX,1111          ;load ega character set
  13.        MOV   BL,00
  14.        INT   10
  15.  
  16.